<template>
    <div>
        <template v-for="(a,index) of arr" :key="index">{{a}}</template>
    </div>
</template>

<script>
    const arr = ['后盾人','hdms'];
    // push shift pop unshift splice sort reverse
    export default {
        data() {
            return {
                arr
            }
        },
        mounted(){
            setTimeout(() => {
                this.arr.splice(0,1);
            },2000)
        }
    }
</script>

<style lang="scss" scoped>

</style>